html, body, h3 {
    padding: 0;
    margin: 0;
}

.main {
    width: 100vw;
    height: 100vh;
    background-image: url("bg.jpg");
    background-size: cover;
    background-position-y: center;
    display: flex;
    justify-content: center;
    align-items: flex-start;

    .form {
        width: 800px;
        height: 400px;
        transform: translateY(120px);
        display: flex;

        .input-box {
            width: 30%;
            height: 100%;
            position: relative;

            .eve-input {
                display: block;
                width: 90%;
                height: 40px;
                margin: 0 auto 0;
                padding: 4px 6px;
                box-sizing: border-box;
                border-radius: 6px;
                border: 1px solid #ccc;
                background-color: rgba(255, 255, 255, 0.8);

                & + .eve-input {
                    margin-top: 18px;
                }

                &:hover, &:focus {
                    background-color: #fff;
                }
            }

            .calculate {
                width: 130px;
                height: 50px;
                border-radius: 6px;
                border: 1px solid #2089e6;
                background-color: rgba(30, 159, 255, 0.5);
                color: #fff;
                display: block;
                margin: 42px auto 0;
                cursor: pointer;

                &:hover {
                    background-color: rgba(30, 159, 255, 0.8);
                }
            }

            &:before {
                content: "";
                display: table;
            }
        }

        .value-box {
            width: 70%;
            height: 100%;
            background-color: rgba(255, 255, 255, 0.7);
            border-radius: 10px;
            padding: 10px;
            box-sizing: border-box;

            .item-box {
                width: 100%;
                height: 50%;

                p {
                    span + span {
                        margin-left: 10px;
                    }

                    &.bold {
                        font-size: 1.3em;
                        font-weight: bold;
                    }
                }
            }

            &:hover {
                background-color: #fff;
            }
        }
    }
}
